//
//  YDTabBar.h
//  YDTestDrive
//
//  Created by ios on 2017/2/13.
//  Copyright © 2017年 ios. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YDTabBar;

@protocol MainTabBarDelegate <NSObject>

@optional
- (void)tabBar:(YDTabBar *)tabBar didSelectedButtonFrom:(long)fromBtnTag to:(long)toBtnTag;

@end

@interface YDTabBar : UITabBar

- (void)addTabBarButtonWithTabBarItem:(UITabBarItem *)tabBarItem;
@property(nonatomic, weak)id <MainTabBarDelegate>delegate;

@end
